<?php
namespace iBrand\Shop\Core\Models;

use Illuminate\Database\Eloquent\Model;
use DB;


class ClerkShop extends Model
{
    protected $table = 'o2o_clerk_shop';

    protected $guarded = ['id'];


    public function shopInfo()
    {
        return $this->hasOne(Shop::class, 'id', 'shop_id');
    }

    public function userShop()
    {
        return $this->hasOne(UserShop::class, 'shop_id');
    }

  

}

